package behavioral.interpreter.self;

public class NonterminalExpression implements AbstractExpression<String> {
	AbstractExpression<?> mExpression;

	public NonterminalExpression(AbstractExpression<?> expression) {
		mExpression = expression;
	}

	@Override
	public String interpret(Context context) {
		return "[NonterminalExpression" + context.global + "]"
				+ mExpression.interpret(context);
	}
}
